package org.finesys.chat.core.base.mapper;

import com.volcengine.ark.runtime.model.completion.chat.ChatToolCall;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface DoubaoConverter {

    DoubaoConverter INSTANCE = Mappers.getMapper(DoubaoConverter.class);

    /**
     * 转换函数调用
     */
    com.volcengine.ark.runtime.model.completion.chat.ChatFunctionCall convert(org.finesys.chat.core.base.chat.ChatFunctionCall chatFunctionCall);


    /**
     * 转换工具调用
     */

    List<ChatToolCall> convertList(List<org.finesys.chat.core.base.chat.ChatToolCall> toolCalls);
}
